package xyz.xtt.equity.service;

import com.baomidou.mybatisplus.extension.service.IService;

import xyz.xtt.equity.entity.TblLuckPhoneEntitlementDeliver;
import xyz.xtt.equity.request.TlbLuckPhoneOrderReq;
import xyz.xtt.equity.response.TlbLuckPhoneOrderRes;
import xyz.xtt.equity.vo.LuckPhoneDeliverVo;

/**
 * 靓号兑换订单服务接口
 * 
 * @author dale
 * @since 2024/12/31
 */
public interface ITblLuckPhoneEntitlementDeliverService extends IService<TblLuckPhoneEntitlementDeliver> {
	/**
	 * 提交靓号订单
	 *
	 * @param uid 用户id
	 * @param req 请求参数
	 * @return 订单信息
	 */
	TlbLuckPhoneOrderRes submitLuckPhoneOrder(String uid, TlbLuckPhoneOrderReq req);

	/**
	 * 获取用户订单信息
	 *
	 * @param uid 用户id
	 * @return 订单信息
	 */
	LuckPhoneDeliverVo getLuckPhoneOrder(String uid);

}
